package com.chiasma.studioadmin.client.ui;

import com.allen_sauer.gwt.log.client.DivLogger;
import com.allen_sauer.gwt.log.client.Log;
import com.chiasma.studioadmin.client.controller.GlobalViewController;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.RootPanel;
import com.google.gwt.user.client.ui.Widget;

public class StudioAdmin implements EntryPoint {


	/**
	 * This is the entry point method.
	 */
	public void onModuleLoad() {
		
		//Create the Instance for the Global Section User Interface
		Log.debug("[StudioAdmin][onModuleLoad] Creating GlobalViewController");
		new GlobalViewController();
		
		//Initializing the Logger Position
		Log.debug("[StudioAdmin][onModuleLoad] Initializing Logger Content");
		Widget divLogger = Log.getLogger(DivLogger.class).getWidget();
		RootPanel.get("loggerDiv").add(divLogger);
		
	}
}
